#!/bin/bash
CMDPATH=/opt/osdp-conformance/run/CP/open_osdp_command.json
mkdir -p /opt/osdp-conformance/run/CP
echo  >${CMDPATH} "{"
echo >>${CMDPATH} "  \"command\" : \"text\","
echo >>${CMDPATH} "  \"message\" : \"$1\""
echo >>${CMDPATH} "}"
/opt/osdp-conformance/bin/open-osdp-kick CP <${CMDPATH}


